<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page isELIgnored="false" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>软件详情</title>
    <link rel="stylesheet" href="/sources/dist/css/common.css">
    <link rel="stylesheet" href="/sources/dist/css/personal.css">
    <link rel="stylesheet" href="/sources/dist/css/apk_upload.css">
</head>
<body>
<!--头部文件-->
<c:import url="./../user/header.jsp"></c:import>
<!--中间内容-->
<section class="content" style="margin-top: 100px;">
    <form action="/SoftwareAction/user/submitUpload" method="post" enctype="multipart/form-data"
          class="form_data">
        <div class="content_all">

            <div class="basic_info form_box">
                <div class="info_tit">
                    <h3>基本信息</h3>
                </div>
                <div class="info_box">
                    <div class="info_row">
                        <div class="info_title">
                            <label>应用名称</label>
                        </div>
                        <div class="info_cont">
                            <div class="info_ipt">
                                <p>${App[0][0]}</p>
                            </div>

                        </div>
                    </div>
                    <div class="info_row">
                        <div class="info_title">
                            <label>应用类型</label>
                        </div>
                        <div class="info_cont">
                            <div class="info_ipt">
                                <p>
                                    <c:if test="${App[0][1]==0}">软件</c:if>
                                    <c:if test="${App[0][1]==1}">游戏</c:if>
                                </p>
                            </div>

                        </div>
                    </div>
                    <div class="info_row">
                        <div class="info_title">
                            <label>应用子分类</label>
                        </div>
                        <div class="info_cont">
                            <div class="info_ipt">
                                <p>${App[0][2]}</p>

                            </div>


                        </div>
                    </div>
                    <div class="info_row app_tags">
                        <div class="info_title">
                            <label>应用标签</label>
                        </div>
                        <div class="info_cont">
                            <div class="info_ipt tags">
                                <p>
                                    <c:forEach var="data" items="${Menu}">
                                        ${data},
                                    </c:forEach>
                                </p>
                            </div>

                        </div>
                    </div>
                    <div class="info_row">
                        <div class="info_title">
                            <label>应用提供方</label>
                        </div>
                        <div class="info_cont">
                            <p>${App[0][3]}</p>
                        </div>
                    </div>
                    <div class="info_row">
                        <div class="info_title">
                            <label>应用简介</label>
                        </div>
                        <div class="info_cont">
                            <div class="info_ipt">
                                <p>${App[0][4]}</p>
                            </div>

                        </div>
                    </div>
                    <div class="info_row">
                        <div class="info_title">
                            <label>一句话简介</label>
                        </div>
                        <div class="info_cont">
                            <div class="info_ipt">
                                <p>${App[0][5]}</p>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
            <div class="basic_info form_box">
                <div class="info_tit">
                    <h3>安装包</h3>
                </div>
                <div class="info_box">
                    <div class="info_row">
                        <div class="info_title">
                            <label>安装包</label>
                        </div>
                        <div class="info_cont">
                            <div class="info_ipt">
                                <p>${App[0][6]}.apk</p>
                            </div>

                        </div>
                    </div>
                    <div class="info_row">
                        <div class="info_title">
                            <label>版本号</label>
                        </div>
                        <div class="info_cont">
                            <div class="info_ipt">
                                <p>${App[0][7]}</p>
                            </div>

                        </div>
                    </div>
                    <div class="info_row">
                        <div class="info_title">
                            <label>版本说明</label>
                        </div>
                        <div class="info_cont">
                            <div class="info_ipt">
                                <p>${App[0][8]}</p>
                            </div>

                        </div>
                    </div>
                    <div class="info_row">
                        <div class="info_title">
                            <label>发布类型</label>
                        </div>
                        <div class="info_cont">
                            <div class="info_ipt">
                                <p>审核通过后立即发布</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="basic_info form_box">
                <div class="info_tit">
                    <h3>图标素材</h3>
                </div>
                <div class="info_box">
                    <div class="info_row">
                        <div class="info_title ">
                            <label>应用小图标</label>
                        </div>
                        <div class="info_cont" style="height: 100px;">
                            <div class="pic_img">
                                <c:forEach var="data" items="${Icon}">
                                    <c:if test="${data[2]=='minImage'}">
                                        <img src="/SoftwareAction/user/looksoftwareIcon?id=${data[0]}&&name=${data[1]}"
                                             alt="" class="img_small">
                                    </c:if>
                                </c:forEach>
                            </div>
                        </div>
                    </div>
                    <div class="info_row">
                        <div class="info_title">
                            <label>应用图标</label>
                        </div>
                        <div class="info_cont" style="height: 100px;">
                            <div class="add_pic">
                                <div class="pic_img">
                                    <c:forEach var="data" items="${Icon}">
                                        <c:if test="${data[2]=='medImage'}">
                                            <img src="/SoftwareAction/user/looksoftwareIcon?id=${data[0]}&&name=${data[1]}"
                                                 alt="" class="img_small">
                                        </c:if>
                                    </c:forEach>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="info_row">
                        <div class="info_title">
                            <label>应用截图</label>
                        </div>
                        <div class="info_cont" style="height: 250px;">
                            <div class="add_pic">
                                <div class="add_pic_imgbox">
                                    <div class="pic_img" id="img_show">
                                        <c:forEach var="data" items="${Icon}">
                                            <c:if test="${data[2]=='bigImage'}">
                                                <img src="/SoftwareAction/user/looksoftwareIcon?id=${data[0]}&&name=${data[1]}"
                                                     alt="" class="">
                                            </c:if>
                                        </c:forEach>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="basic_info form_box">
                <div class="info_tit">
                    <h3>适配信息</h3>
                </div>
                <div class="info_box">
                    <div class="info_row">
                        <div class="info_title ">
                            <label>支持屏幕大小</label>
                        </div>
                        <div class="info_cont">
                            <div class="info_ipt">
                                <p>${App[0][9]}</p>
                            </div>
                        </div>
                    </div>

                    <div class="info_row">
                        <div class="info_title ">
                            <label>支持语言</label>
                        </div>
                        <div class="info_cont">
                            <div class="info_ipt">
                                <p>${App[0][10]}</p>
                            </div>
                        </div>
                    </div>
                    <div class="info_row">
                        <div class="info_title ">
                            <label>资费类型</label>
                        </div>
                        <div class="info_cont">
                            <div class="info_ipt">
                                <p>${App[0][11]}</p>
                            </div>
                        </div>
                    </div>
                    <div class="info_row">
                        <div class="info_title">
                            <label>设备类型</label>
                        </div>
                        <div class="info_cont">
                            <div class="info_ipt">
                                <p>${App[0][12]}</p>
                            </div>

                        </div>
                    </div>
                </div>
            </div>


        </div>
    </form>
</section>

<c:import url="/footer.jsp"></c:import>
</body>

</html>